package com.example.security.exception;


import com.example.common.core.domain.ResultCode;
import lombok.Getter;

import java.io.Serializable;


@Getter
public class ServiceException extends RuntimeException{

    private ResultCode resultCode;


    public ServiceException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }

    public ServiceException() {
    }
}
